#include "Pion.h"


Pion * CreerPion()
{
	Pion * pion;
	pion = (Pion *) malloc(sizeof(Pion));
    pion->coordX = 0;
    assert(pion != NULL);
	return pion;
}


int PionGetX (const Pion * pion)
{
    assert(pion != NULL);
	return pion->coordX;
}


void PionEfface (Pion * pion)
{
	free (pion);
}


void PionSet (Pion * pion, int x)
{
	pion->coordX = x;
}

